# #####################################################################
# tcpiplink_otpd 2009.05.05
# #####################################################################
TEMPLATE = lib

DEPENDPATH += . \
    main
INCLUDEPATH += . \
    ./main/ \
    ./classes/ \
    ./../../ \
    ./../../OTPD/classes/general_headers/ \
    ./../../OTPD/classes/hardware_comm/ \
    ./../../OTPD/

# Input
HEADERS += \
    main/qdlib.h \
    ../../OTPD/classes/serviceClasses/t_returnSyncObject.h \
    ../../OTPD/classes/general_headers/phtml_structs.h \
    ../../OTPD/classes/general_headers/t_otpd_object_v.h \
    ../../OTPD/classes/hardware_comm/t_abstractlink_otpd.h \
    ../../OTPD/classes/hardware_comm/t_tcpiplink_otpd.h \
    ../../OTPD/classes/hardware_comm/t_seriallink_otpd.h \
    ../../OTPD/classes/hardware_comm/t_usbprintlink_otpd.h \
    classes/bots/tcpiplink_bot.h \
    classes/bots/seriallink_bot.h \
    classes/bots/usbprintlink_bot.h \


SOURCES += \
    main/qdlib.cpp \
    ../../OTPD/classes/serviceClasses/t_returnSyncObject.cpp \
    ../../OTPD/classes/general_headers/t_otpd_object_v.cpp \
    ../../OTPD/classes/hardware_comm/t_abstractlink_otpd.cpp \
    ../../OTPD/classes/hardware_comm/t_tcpiplink_otpd.cpp \
    ../../OTPD/classes/hardware_comm/t_seriallink_otpd.cpp \
    ../../OTPD/classes/hardware_comm/t_usbprintlink_otpd.cpp \
    classes/bots/tcpiplink_bot.cpp \
    classes/bots/seriallink_bot.cpp \
    classes/bots/usbprintlink_bot.cpp \

CONFIG += console \
     debug \
     network \

#     script \
#    release
#    warn_on \
#    debug

     
win32 {
    MOC_DIR += build/win
    OBJECTS_DIR += build/win
    DESTDIR += ./../../bin/win

    #НУЖНО ДЛЯ РАБОТЫ DDK-ФУНКЦИЙ которые мы используем для работы с USB в t_usbprintlink_otpd
    LIBS += -lsetupapi

  }
else {
    MOC_DIR += build/lin
    OBJECTS_DIR += build/lin
    DESTDIR += ./../../bin/lin
  }

TARGET = "qdlib_otpdlinks"
QT += xml
QT += network
QT += script
QT += gui
